﻿using System;

namespace FYSJcrm.Core.Common
{
    public class AjaxResult
    {
        /// <summary>
        /// 执行的结果
        /// </summary>
        public HttpCode Code { get; set; }

        /// <summary>
        /// 错误消息
        /// </summary>
        public string ErrorMsg { get; set; }

        /// <summary>
        /// 执行返回的数据
        /// </summary>
        public object Data { get; set; }

        /// <summary>
        /// 返回的数据条数
        /// </summary>
        public long TotalCount { get; set; }

        /// <summary>
        /// 返回的分页大小
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 返回当前的页码
        /// </summary>
        public int CurrPage { get; set; }
    }
}
